
// import persist from "pinia-plugin-persist"
import { createPinia } from "pinia"
import { type App } from "vue"

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()

// pinia.use(persist)
pinia.use(piniaPluginPersistedstate)

export function setUpStore(app: App) {
    app.use(pinia)
}